<?php

class UserTableSeeder extends Seeder {
 
    public function run()
    {
        DB::table('user')->delete();
 
        User::create(array(
            'name' => 'jose',
            'lastname' => 'mourinio',
            'username' => 'mou',
            'password' => Hash::make('first_password'),
            'birthday' => '1950-06-02',
            'gender' => 'm',
            'cou_id' => '2',
        ));
 
        User::create(array(
            'name' => 'juan',
            'lastname' => 'cuadrado',
            'username' => 'cuadrado',
            'password' => Hash::make('second_password'),
            'birthday' => '1990-07-23',
            'gender' => 'm',
            'cou_id' => '3',
        ));
    }
 
}